home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / lib / float / spa_cmp.a < prev    next >
Encoding:
Text File  |  1994-02-01  |  429 b   |  27 lines

  1.  
  2.         ;   SPA_CMP.A
  3.         ;
  4.         ;   D0    arg1    (4 bytes)
  5.         ;   D1    arg2    (4 bytes)
  6.         ;
  7.         ;   result -> D0
  8.         ;
  9.         ;   (c)Copyright 1990, Matthew Dillon, All Rights Reserved
  10.  
  11.         section text,code
  12.  
  13.         xref    _MathIeeeSingBasBase
  14.         xref    _LVOIEEESPCmp
  15.         xdef    __spcmp_a
  16.  
  17. __spcmp_a    move.l    A6,-(sp)
  18.         move.l    _MathIeeeSingBasBase(A4),A6
  19.         ;;exg      D0,D1 ; NO EXCHANGE, REVERSED FROM FFP LIB
  20.         jsr    _LVOIEEESPCmp(A6)
  21.         move.l    (sp)+,A6
  22.         tst.l    D0
  23.         rts
  24.  
  25.         END
  26.  
  27.